<template>
	<view>
		<view id="page_content">
			<tui-drawer mode="right" :visible="isopen">
				<headNav @close="closeOpen" @showTips="showTips"></headNav>
			</tui-drawer>
			<view class="page trade_history_page affiliate_tutorial table_page">
				<view class="down_header">
					<view class="page_header commom_header_share2">
						<view class="back_btn" @click="goBack"></view>
						<view class="header_center">
							<view class="golden-titles">{{$t('down')}}</view>
						</view>
						<button class="menu_btn" @click="navs('showLeft')">
							<image src="/static/images/entryscreen/menu.svg" mode="widthFix">
						</button>
					</view>
				</view>
				<view class="wallet_image_wrap">
					<image class="page_icon_wallet" src="/static/images/common/wallet.png" mode="widthFix"></image>
				</view>
				<view class="page_title">{{$t('web3_wallet')}}</view>
			
				<view class="next_btn_wrap"><view class="next_btn" @click="downs">{{$t('down_wallet')}}</view></view>
				


			</view>
		</view>

       <tui-tips ref="toast" position="center"></tui-tips>
	</view>
</template>

<script>
	import headNav from "@/components/nav/head_nav.vue"
	import topWallet from "@/components/nav/top_wallet.vue"
	import walletPop from "@/components/nav/wallet_pop.vue"
	export default {
		components:{
			headNav,
			topWallet,
			walletPop
		},
		data() {
			return {
				showPurse: false,
				show: true,
				show2: false,
				isopen: false,
				showLink: false,
				recordsList: '',
				loadding: false,
				open_wallet: false,
				pullUpOn: true,
				showTabbar: true,
				dropdownShow: false,
				// current: 2,
				page: 1,
			};
		},
		onLoad() {
			
		},
		methods: {
			downs() {
				location.href=this.tui.interfaceUrl()+'down/TokenPocket-pro.apk';
			},

			navs() {
				this.isopen = true
				this.showTabbar = false
			},
			closeOpen() {

				this.isopen = false
			},
			openShare() {
				this.showLink = true;
			},
			goBack() {
				uni.navigateBack()
			},
			closeLink() {
				this.showLink = false;
			},
			showTips: function(msg,type) {
				
				let options = {
					msg: msg,
					duration: 2000,
					type: type
				};
				this.$refs.toast.showTips(options);
			},
		},
	}
</script>

<style lang="scss">
	@import '../../static/css/defalut.css';

	page {
		// background-color: #0c0d13;
		background: #0c0d13;
		color: #fff;
		font-family: "Barlow Semi Condensed", sans-serif;
		// margin: 0;
		// padding: 0;
		// overflow: hidden;
	}

	.trade_history_list {
		background-color: #0c0d13;
		display: flex;
		flex: 1;
		flex-direction: column;
		height: calc(100vh - var(--window-top));
		// width: 100%;
		// margin-top: 12rpx;
		overflow-y: auto;
		overflow-x: hidden;
		position: relative;
		z-index: 2
	}

	.tui-tool {
		display: flex;
		flex-direction: row;
	}

	.tui-tool-item {
		width: 25%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding-top: 15rpx;
		font-size: 24rpx;
		color: #f4d56f;
	}
</style>